package ${servicePackageName};
import ${modelClassName}
import com.xiecang.model.dto.MsgBean;

/**
 *
 *  ${note} 服务层
 *  @author ${author}
 *
 */
public interface ${className}${service?cap_first}{

	/**
	 *
	 * 查询${note}信息列表
	 * @Param ${className} 对象信息{@link ${modelPackgeName}}
	 *
	 */
	 
	public MsgBean queryEntityList(Integer currentPage,Integer pageSize);
	
	/**
	 *
	 * 保存${note}信息
	 * @Param ${className} 对象信息{@link ${modelPackgeName}}
	 *
	 */
	 
	public MsgBean saveEntity(${className} ${className?cap_first});
	
	/**
	 *
	 * 保存${note}信息
	 * @Param ${className} 对象信息{@link ${modelPackgeName}}
	 *
	 */
	 
	public Integer save(${className} ${className?cap_first});
	
	/**
	 *
	 * 更新${note}信息
	 * @Param ${className} 对象信息{@link ${modelPackgeName}}
	 *
	 */
	 
	public MsgBean updateEntity(${className} ${className?cap_first});
	
	/**
	 *
	 * 更新${note}信息
	 * @Param ${className} 对象信息{@link ${modelPackgeName}}
	 *
	 */
	 
	public Integer update(${className} ${className?cap_first});
	
	/**
	 *
	 * 删除指定${note}信息
	 * @Param Long id ${note}对象ID
	 *
	 */
	 
	public MsgBean del(Long id);
	
}